package com.ly;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 只需要在CMD窗口执行即可：
 * 1、动态刷新全部(一次发送，处处生效)：
 *      curl -X POST "http://localhost:3344/actuator/bus-refresh"
 * 2、不想全部通知，只想定点通知(只通知3355,不通知3366):
 *      curl -X POST "http://localhost:3344/actuator/bus-refresh/config-client:3355"
 */
@SpringBootApplication
@EnableEurekaClient
public class ConfigClientMain3366 {

    public static void main(String[] args)
    {
        SpringApplication.run(ConfigClientMain3366.class, args);
    }
}
